#! /bin/sh

# Copyright (C) 2009-2014 Peter Breitenlohner <tex-live@tug.org>
# You may freely use, modify and/or distribute this file.

tests=omegaware/tests

test -d $tests || mkdir -p $tests

./wopl2ofm -verbose $srcdir/$tests/level1 $tests/xlevel1 || exit 1

TEXMFCNF=$srcdir/../kpathsea \
  ./wofm2opl -verbose $tests/xlevel1 $tests/xlevel1 || exit 1

diff $srcdir/$tests/level1.opl $tests/xlevel1.opl || exit 1

